﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using pwestcott.Util;

namespace pwestcott.Util.Tests.Essence
{
    [TestFixture]
    public class BasicTests
    {
        [EssenceClass()]
        class NoMembers {}

        [Test]
        public void CheckNullFunctions()
        {
            Assert.AreEqual(true, Essence<NoMembers>.EqualsStatic(new NoMembers(), new NoMembers()));
            Assert.AreEqual(0, Essence<NoMembers>.GetHashCodeStatic(new NoMembers()));
            Assert.AreEqual(0, Essence<NoMembers>.CompareToStatic(new NoMembers(), new NoMembers()));
        }
    }
}
